import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

import user from './user.js';
import login from './login.js';
import tags from './tags.js';
import search from './search.js';
import article from './article.js';
import editorArticle from './editorArticle.js';

export default new Vuex.Store({
    modules: {
        user: user,
        login: login,
        tags: tags,
        search: search,
        article: article,
        editorArticle: editorArticle
    }
});